Fix egui web UI: add styling configuration and build documentation#49
Merged
Conversation
Co-authored-by: yiwang <142937+yiwang@users.noreply.github.com>
Co-authored-by: yiwang <142937+yiwang@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement PoC for Egui as internal web UI
Fix egui web UI: add styling configuration and build documentation
Feb 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The egui web UI at
/eguirendered blank due to missing WASM artifacts and lacking visual style initialization.Changes
crates/server/src/web/app.rs: Addedconfigure_style()to initialize dark theme, text sizes (14px/20px), and rounded corners matching desktop implementationcrates/server/ui/egui/README.md: Documented build process, architecture, and code reuse patternsbuild-egui-web.sh: Clarified build instructionsImplementation
Build & Usage
The PoC demonstrates egui code reuse between native desktop and WASM web with minimal platform-specific adjustments. Current implementation shows mock chat interface; backend integration remains future work.
Notes
WASM artifacts are gitignored and must be built locally. The web UI structure mirrors the desktop
DesktopAppfor consistency.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
cdn.pyke.io/home/REDACTED/work/localgpt/localgpt/target/release/build/ort-sys-61c34fc4fbd5ab68/build-script-main /home/REDACTED/work/localgpt/localgpt/target/release/build/ort-sys-61c34fc4fbd5ab68/build-script-main -o /home/REDACTED/work/localgpt/localgpt/target/release/build/zstd-sys-f93b6ddebfd872codegen-units=1 /tmp/ccjnFSkc.s s-db�� e6/out/libzstd.a e6/out/44ff4c55aa9e5133-debug.o e6/out/44ff4c55aa9e5133-entropy_common.o e6/out/44ff4c55aa9e5133-error_private.o e6/out/44ff4c55aa9e5133-fse_decompress.o e6/out/44ff4c55aa9e5133-pool.o e6/out/44ff4c55aa9e5133-threading.o e6/out/44ff4c55aa9e5133-zstd_common.o e6/out/fb80479a5fb81f6a-fse_compress.o e6/out/fb80479a5fb81f6a-hist.o e6/out/fb80479a5fb81f6a-huf_compress.o e6/out/fb80479a5fb81f6a-zstd_compress.o e6/out/fb80479a5fb81f6a-zstd_compress_literals.o e6/out/fb80479a5fb81f6a-zstd_compress_sequences.o e6/out/fb80479a5fb81f6a-zstd_compress_superblock.o(dns block)/home/REDACTED/work/localgpt/localgpt/target/release/build/ort-sys-61c34fc4fbd5ab68/build-script-main /home/REDACTED/work/localgpt/localgpt/target/release/build/ort-sys-61c34fc4fbd5ab68/build-script-main -Wl,-Bstatic /home/REDACTED/work/localgpt/localgpt/target/release/deps/libdarling_core-a54c537428884749.rlib /home/REDACTED/work/localgpt/localgpt/target/release/deps/libstrsim-03f22d1cc77ed67f.rlib /home/REDACTED/work/localgpt/localgpt/target/release/deps/libfnv-dc6cec6a43a4b5b7.rlib /home/REDACTED/work/localgpt/localgpt/target/release/deps/libident_case-400265eedfb26383.rlib /home/REDACTED/work/localgpt/localgpt/target/release/deps/libsyn-182291cdcb9066b8.rlib /home/REDACTED/work/localgpt/localgpt/target/release/deps/libquote-d141ceb6e1fa082f.rlib d528729519cc7.derive_builder_macro.6e29ab9f5177fff7-cgu.0.rcgu.o /home/REDACTED/work/localgpt/localgpt/target/release/deps/libunicode_ident-55c225894ee�� d528729519cc7.d9574sksdu1uyvff6ov1sf9pz.rcgu.o /home/REDACTED/.rustup/toolchains/stable-x86_64-REDACTED-linux-gnu/lib/rustlib/x86_64-REDACTED-linux-gnu/lib/librustc_literal_escaper-f22bf791d1c2fd7e.rlib gver�� 0a12c71e5b08b71.rlib 7d2.rlib 64685741.rlib 7f.rlib rlib b26383.rlib rlib(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.